﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="createChannel.aspx.cs" Inherits="Joyintech.Admin.inpiao365.general.createhtml.createChannel" %>

<%@ Register Src="~/checkRight.ascx" TagName="checkRight" TagPrefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>生成栏目页</title>
    <script language="javascript" type="text/javascript">
        var DG = frameElement.lhgDG;
        function ok() {
            // 这里写你要操作的代码，最后写刷新代码 
            DG.curWin.location.href = DG.curWin.location.href;
        } 

        function checkedAll(isChecked) {
            for (var i = 0; i < document.getElementById('listSystemNode').options.length; i++) {
                document.getElementById('listSystemNode').options[i].selected = isChecked;
            }
        }

    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="position">
        <span>生成栏目页</span>
    </div>
    <div class="searcher">    
        <div class="tips">
            提示：选择需要生成页面的栏目后点击“生成选定栏目”即可生成对应得栏目页面。
        </div>
    </div>
    <div class="lister">
        <table border="0" cellpadding="0" cellspacing="0" width="100%" class="datatable">
            <tr class="row1">
                <td class="fontR" width="150">
                    生成选定的栏目：
                </td>
                <td class="fontL" width="250">
                    <select id="listSystemNode" runat="server" multiple="true" style="height:340px;width:250px;">
                    </select>
                </td>
                <td class="fontL">
                   <input id="CheckAll" type="checkbox" onclick="checkedAll(this.checked);">全选
                </td>
            </tr>
            <tr class="line row1">
                <td colspan="3">
                    &nbsp;
                </td>
            </tr>
            <tr class="row1">
                <td></td>
                <td class="fontL" colspan="2">
                生成栏目页：<jui:HFLinkButton runat="server" ID="btnCreateChannel" 
                        CssClass="btn" onclick="btnCreateChannel_Click"><span><label class="accepted" for="btnCreateChannel">生成选中栏目页</label></span></jui:HFLinkButton>
                删除栏目页：<jui:HFLinkButton runat="server" ID="btnDeleteChannel" CssClass="btn" 
                        onclick="btnDeleteChannel_Click"><span><label class="remove" for="btnDeleteChannel">删除选中栏目页</label></span></jui:HFLinkButton>
                </td>
            </tr>

        </table>
    </div>
    <uc1:checkRight ID="checkRight1" runat="server" />
    
    </form>
</body>
</html>
